import React, { Component } from 'react';
import MyHeader from '../../components/shopcart/MyHeader'
import CartList from "../../components/shopcart/CartList";
// import Mylist from '../../components/shopcart/Mylist';
// import MyTabbar from '../../components/shopcart/MyTabbar'
// import MyTabbar from './components/MyTabbar';

class ShopCart extends Component {
    state={
        userinfo:JSON.parse(localStorage.getItem('userinfo')),
    }
  render() {
    return (
      <div className='shopcart'>
          <MyHeader userinfo={this.state.userinfo}></MyHeader>
          <CartList userinfo={this.state.userinfo}></CartList>
      </div>
    );
  }
}

export default ShopCart;


